package com.android.waterdetection.bean;

public class DeviceData {
    private int id;
    private int temp;
    private int ph;
    private String time;

    public DeviceData() {
    }

    public DeviceData(int id, int temp, int ph, String dateTime) {
        this.id = id;
        this.temp = temp;
        this.ph = ph;
        this.time = dateTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getTemp() {
        return temp;
    }

    public void setTemp(int temp) {
        this.temp = temp;
    }

    public int getPh() {
        return ph;
    }

    public void setPh(int ph) {
        this.ph = ph;
    }

    public String getDateTime() {
        return time;
    }

    public void setDateTime(String dateTime) {
        this.time = dateTime;
    }

    @Override
    public String toString() {
        return "DeviceData{" +
                "id='" + id + '\'' +
                ", temp='" + temp + '\'' +
                ", ph='" + ph + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
